import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'

import './directive'
import './permission'
import './vant'

// 导入highlight.js提供的样式
import 'highlight.js/styles/default.css'

import My from './plugin'

if (process.env.NODE_ENV === 'production') {
  console.log = console.dir = console.error = function () { }
}
Vue.use(My)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
